package com.sjq.project.service;

import net.sf.json.JSONObject;

import org.springframework.web.multipart.commons.CommonsMultipartFile;

import com.sjq.common.entity.LoginAccount;
import com.sjq.common.util.PageResults;
import com.sjq.project.entity.ProjectBudget;
import com.sjq.project.entity.ProjectBudgetList;

public interface ProjectBudgetService {
	//新增
	public JSONObject addProjectBudget(ProjectBudget projectBudget,LoginAccount la);
	
	//新增
	public JSONObject addProjectBudget2(String xxzjbh,ProjectBudgetList projectBudget,LoginAccount la);
	//新增含有附件的页面
	public JSONObject addProjectBudgetFilesByFTP(ProjectBudget projectBudget,CommonsMultipartFile[]  fj,LoginAccount la);
	//删除
	public JSONObject deleteProjectBudget(String projectBudgetId,LoginAccount la);
	//修改
	public JSONObject updateProjectBudget(ProjectBudget projectBudget,LoginAccount la);
	// 分页查询
	public PageResults<?> findProjectBudgetByPage(int pageNo, int pageSize, ProjectBudget projectBudget);
	
	//根据条件查询所有记录
	public JSONObject findProjectBudgetByListAll(ProjectBudget projectBudget,LoginAccount la);
	
}